package com.hw.one.collect.radar.util;

import java.util.regex.Pattern;

public class RegexUtil {

    private static String regex_int = "^[0-9]*[1-9][0-9]*$";

    public static boolean isDouble(String str) {
        if (null == str) {
            return false;
        }
        Pattern pattern = Pattern.compile(regex_int);
        return pattern.matcher(str).matches();
    }
}
